import request from "../utils/request";


export const getUserInfo = () => {
    return request.get("/userInfo/")
}

export const newTokenService = (userType,userId) => {
    const params={'userType':userType,'userId':userId}
    return request.get("/userInfo/newToken", {params:params})
}